<html>
<head><meta charset="utf-8"><title>minirust playgroun · t-compiler/wg-parselib · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/254930-t-compiler/wg-parselib/index.html">t-compiler/wg-parselib</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/254930-t-compiler/wg-parselib/topic/minirust.20playgroun.html">minirust playgroun</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="208821030"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/254930-t-compiler/wg-parselib/topic/minirust%20playgroun/near/208821030" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/254930-t-compiler/wg-parselib/topic/minirust.20playgroun.html#208821030">(Sep 02 2020 at 13:13)</a>:</h4>
<p>I've crated <a href="https://github.com/rust-analyzer/minirust">https://github.com/rust-analyzer/minirust</a> to experiment with various flavors of evented parsing.</p>
<p>The idea is to write library-ified parses in different styles for the following language:</p>
<div class="codehilite"><pre><span></span><code>File =
  Struct*

Struct =
  &#39;struct&#39; name:&#39;ident&#39; &#39;{&#39; Field* &#39;}&#39;

Field =
  name:&#39;name&#39; &#39;:&#39; ty:&#39;name&#39; &#39;,&#39;?
</code></pre></div>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>